﻿using System;
using System.Collections.Generic;
using System.Text;
using Hkwl.WorldExpo.Merchant.Model;

namespace Hkwl.WorldExpo.Merchant.Service
{
    public interface IAdminService
    {
        #region NxAdmin对象

        NxAdmin GetNxAdminById(int adminId);

        bool InsertNxAdmin(NxAdmin admin);

        bool UpdateNxAdmin(NxAdmin admin);

        #endregion

        #region NxAdminPermission对象

        IList<NxAdminPermission> GetNxAdminPermissioinCollection();

        bool InsertNxAdminPermission(NxAdminPermission permission);

        bool UpdateNxAdminPermission(NxAdminPermission permission);

        #endregion

        #region NxAdminLog对象

        bool InsertNxAdminLog(NxAdminLog adminLog);

        NxAdminLog GetNxAdminLogById(int logId);

        IList<NxAdminLog> GetNxAdminLogCollection(int adminId, int pageIndex, int pageSize, ref int count);

        #endregion
    }
}
